<?php /* Smarty version 2.6.18, created on 2017-08-29 16:21:24
         compiled from logininfo.html */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'header2.html', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
</head>
<body id="topbody">
<script id=myjs language="javascript">
var js=1;var sss='logininfo';
</script>
<div class="main">
<div class="top_info">
<span class="title">登陆日志</span>
<span class="right"></span>
</div>
<div class="contents">
<table class="data_table data_list list">
<thead><tr><th>序号</th><th>登陆时间</th><th>IP</th><th>IP归属地</th><th>状态</th></tr></thead>
<tbody>
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['login']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
<tr><td><?php echo $this->_tpl_vars['login'][$this->_sections['i']['index']]['i']; ?>
</td><td class="time"><?php echo $this->_tpl_vars['login'][$this->_sections['i']['index']]['time']; ?>
</td><td><?php echo $this->_tpl_vars['login'][$this->_sections['i']['index']]['ip']; ?>
</td><td><?php echo $this->_tpl_vars['login'][$this->_sections['i']['index']]['addr']; ?>
</td><td><?php echo $this->_tpl_vars['login'][$this->_sections['i']['index']]['zt']; ?>
</td></tr>
<?php endfor; endif; ?>
</tbody>
</table>
</div>
<div class="page">注意：登陆日志最少被保留<?php echo $this->_tpl_vars['autodellogintime']; ?>
天。</div>
</div>
</body>
</html>